<%-- 
    Document   : header
    Created on : Sep 6, 2011, 10:58:45 AM
    Author     : NGUYEN CONG BINH
--%>
<%@page import="POJO.DanhMucPOJO"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!--START HEADER -->
<header class="header">
    <h1>
        <a title="BDG.vn - Thuận mua vừa bán" href="http://www.123mua.vn">
            <img src="#" alt="BDG.vn"></a>
    </h1>
    <form class="search clearfix" id="frmSearch" method="post" onSubmit="return cmd_search();" action="/">
        <fieldset>
            <span class="what-field">
                <input type="text" onFocus="if(this.value=='Bạn tìm gì cho ngày hôm nay?')this.value=''" onBlur="if(this.value=='')this.value='Bạn tìm gì cho ngày hôm nay?'" value="Nhập thông tin tìm kiếm" name="keyword" id="keyword" class="home-what">
            </span>
            <span class="search-field"><input type="submit" class="btn-search" id="cmd_keyword" name=""></span>
            <div class="suggestionsBox" id="suggestions" style="display: none;">
                <div class="suggestionList" id="autoSuggestionsList"></div>
            </div>
        </fieldset></form>
    <ul class="clearfix">
        <form action="" name="loginHead" id="loginHead" method="post">
            <li class="span first" id="_loginAlr"><a onClick="submitLogin();" href="javascript:void(0);" rel="nofollow" class="log-in">Đăng nhập</a><a rel="nofollow" href="http://id.me.zing.vn/register?ref=/user/session?redirect=&amp;getsession=1" target="_blank">Đăng ký</a></li>

            <li style="display: none;" class="span nav-user"><a href="http://www.123mua.vn/myaccount/overview">Quản lý cá nhân</a><ul class="dropbox-user" style="display: none;">
                    <li><a href="http://www.123mua.vn/myaccount/overview"><strong>Quản lý cá nhân</strong></a></li>
                    <li><a href="http://www.123mua.vn/myproduct/productcreate">Đăng bán</a></li>
                    <li><a href="http://www.123mua.vn/myproduct/productlist">Quản lý sản phẩm</a></li>
                    <li><a href="http://www.123mua.vn/myorder/orderlist">Quản lý đơn hàng</a></li>
                    <li><a href="http://www.123mua.vn/myproduct/wishlist">SP yêu thích</a></li>
                    <li><a href="http://www.123mua.vn/messagebox/inbox">Hộp tin nhắn</a></li>
                    <li><a href="http://www.123mua.vn/service/cashcharge">Nạp tiền</a></li>
                </ul>
            </li><input type="hidden" name="u" value="http://www.123mua.vn/user/xlogin"><input type="hidden" name="aid" value="7"></form></ul>
</header><!--end header-->

<div class="nav nav-sc">
    <div class="menu">
        <!--Menu header-->
        <ul class="menu-inside">

            <li class="menu-home"><a class="" href="#">&nbsp;</a></li>
 <%  ArrayList<DanhMucPOJO> ds = (ArrayList<DanhMucPOJO>) request.getAttribute("danhmucAttribute");// loaigiayDAO.laydanhsachloaigiay();
        for (int i = 0; i < ds.size(); i++) {
            DanhMucPOJO dm = ds.get(i);%> 
            
            <li class="cat"><a class="" rel="permalink" href="#"><%= dm.getTenDanhMuc() %></a></li>
            <%}%> 
        </ul>
                      
        <!--END HEADER -->